package com.pro.schedule.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "event_type")
public class EventType {
    @TableId(type = IdType.AUTO)
    private Integer eventTypeId;
    private String eventTypeLabel;
    private String eventTypeColor;
    private Long userId;
    @TableField(exist = false)
    private List<EventTypeChild> eventTypeChildList;
}
